<template>
  <div class="invoice">
    <div class="title">发票申请</div>
    <div class="invoice-desc">
      <div>您好，会员购买后，可以开具电子发票。</div>
      <div>
        请选择您近三个月内的会员充值订单，并提供发票抬头、税号与电子邮箱，我们会在每周一和周四下午4点开具发票，并将电子发票发送至您的邮箱。
      </div>
    </div>
    <div class="from">
      <div style="margin-bottom: 30px">
        <div style="color: red; margin-left: 30px; margin-bottom: 5px">
          （近3个月充值订单）
        </div>
        <div class="from-title" style="align-items: flex-start">
          <div class="top-title">
            <span class="icon">*</span>
            <span class="value">订单</span>
          </div>
          <div class="order"></div>
        </div>
      </div>
      <div style="margin-bottom: 30px">
        <div class="from-title">
          <div class="from-top">
            <div class="top-title">
              <span class="icon">*</span>
              <span class="value">发票抬头</span>
            </div>
            <div class="title-input">
              <input
                type="text"
                placeholder=" 例如：湖南一唯信息科技有限公司"
                style="width: 350px; border: none"
              />
            </div>
          </div>
        </div>
        <div class="form-desc">（注意：请填写完核对一遍，避免错误）</div>
      </div>
      <div style="margin-bottom: 30px">
        <div class="from-title">
          <div class="from-top">
            <div class="top-title">
              <span class="icon">*</span>
              <span class="value">纳税人识别号</span>
            </div>
            <div class="title-input">
              <input
                type="text"
                placeholder="请输入纳税人识别号"
                style="width: 350px; border: none"
              />
            </div>
          </div>
        </div>
        <div class="form-desc">（注意：请填写完核对一遍，避免错误）</div>
      </div>
      <div style="margin-bottom: 30px">
        <div class="from-title">
          <div class="from-top">
            <div class="top-title">
              <span class="icon">*</span>
              <span class="value">电子邮箱</span>
            </div>
            <div class="title-input">
              <input
                type="text"
                placeholder="请输入电子邮箱"
                style="width: 350px; border: none"
              />
            </div>
          </div>
        </div>
        <div class="form-desc">（注意：请填写完核对一遍，避免错误）</div>
      </div>
      <div style="margin-bottom: 30px">
        <div class="from-title">
          <div class="from-top">
            <div class="top-title">
              <span class="value">备注</span>
            </div>
            <div class="title-input" style="border: none">
              <textarea style="width: 98%; height: 100px"></textarea>
            </div>
          </div>
        </div>
        <div class="form-desc">（注意：请填写完核对一遍，避免错误）</div>
      </div>
    </div>
    <div class="btn">提交</div>
    <div class="invoice-waring">
      请认真核对发票信息是否正确或齐全，若填写错误无法重开，请检查后再提交
      如有疑问，如有遗漏、未收到发票，请联系在线客服
    </div>
  </div>
</template>

<script setup></script>

<style lang="less">
.from-top {
  display: flex;
  align-items: center;
}
.form-desc {
  opacity: 0.5;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #666;
  margin-left: 55px;
  margin-top: 10px;
}
.invoice {
  .title {
    font-family: PingFangSC-Regular;
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
  }
  .invoice-desc {
    width: 777px;
    background: #fff7eb;
    border: 1px solid #ffeccf;
    border-radius: 5px;
    padding: 10px 20px 10px 20px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #717585;
    line-height: 18px;
    margin-bottom: 30px;
  }
  .from {
    font-size: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    padding-right: 200px;
    .from-title {
      display: flex;
      font-size: 14px;
      align-items: center;
      color: #666;
      .order {
        width: 400px;
        height: 132px;
        border: 1px solid #dbe0f2;
      }
      .from-top {
        display: flex;
        align-items: center;
        .top-title {
          font-family: PingFangSC-Regular;
          text-align: right;
          display: flex;
          align-items: center;
          font-size: 14px;

          .icon {
            color: red;
          }
          .value {
            color: #666;
          }
        }

        .title-input {
          width: 400px;
          // height: 32px;
          line-height: 32px;
          text-align: left;
          padding-left: 10px;
          border: 1px solid #e1e6f0;
          overflow: hidden;
        }
      }
    }
  }
  .btn {
    width: 88px;
    height: 32px;
    background: #e2393c;
    font-family: PingFangSC-Medium;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 32px;
    margin-left: 255px;
    margin-top: 20px;
    cursor: pointer;
  }
  .invoice-waring {
    margin-left: 170px;
    margin-top: 20px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #666;
  }
}
</style>
